<template>
  <div class="com-container">
    <el-container>
      <el-aside width="220px">
        <router-link to="/management" style="color: #fff"
          >跳转到管理单位页面</router-link
        >
      </el-aside>
      <el-container>
        <el-header height="40px">Header</el-header>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>

<script>
export default {
  data() {
    return {
      msg: "",
    };
  },
  mounted() {},
  created() {},
  methods: {},
};
</script>

<style lang="less" scoped>
.com-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.el-header {
  background-color: #f8f9fa;
  color: #333;
  text-align: center;
  line-height: 40px;
  border: 1px solid #ccc;
}

.el-aside {
  background-color: #01204c;
  color: #333;
  text-align: center;
  // line-height: 200px;
  width: 220px;
  height: 100%;
}

.el-main {
  width: 100%;
  height: calc(100% - 64px);
  background-color: #f8f9fa;
  color: #333;
  text-align: center;
  .main-container {
    position: relative;
    width: 100%;
    height: 100%;
    // background-color: pink;
  }
}

.el-container {
  width: 100%;
  height: 100%;
}
</style>